package com.thinkingstar.iads.cs.sys.entity;

import org.nutz.dao.entity.annotation.*;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author steelwoo
 * @time 2014-02-27 10:01:23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table("dc_sys_task")
public class SysTask {
 
    @Column
    @Id
    private int task_id;
    
    @Column
    @ColDefine(type = ColType.VARCHAR, width = 100)
    private String task_code;
    
    @Column
    private int task_type;
    
    @Column
    private String task_name;
    
    @Column
    @ColDefine(type = ColType.VARCHAR, width = 100)
    private String job_class;
    
    @Column
    private int execycle;
    
    @Column
    private int day_of_month;
    
    @Column
    private int day_of_week;
    
    @Column
    private int hour;
    
    @Column
    private int minute;
    
    @Column
    private int interval_hour;
    
    @Column
    private int interval_minute;
    
    @Column
    private int task_interval_unit;
    
    @Column
    @ColDefine(type = ColType.VARCHAR, width = 20)
    private String cron_expression;
    
    @Column
    private int is_enable;
    
    @Column
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String task_remark;
    
    @Column
    private long user_id;
    
    @Column
    private String create_time;
    
    @Column
    @ColDefine(type = ColType.VARCHAR, width = 100)
    private String param_value;
    
    @Column
    private int task_interval;
    
    @Column
    private int task_threadnum;
    
    
}